ConceptHMI Web Help
AddNew<T>(String) Method
The type of the new ConceptElement to instanciate.
The name of the new item. If this name is already used in the internal list, an exception will be thrown.
Creates a new instance of a ConceptElement based object with the ConceptFactory and adds it to the internal list of the ConceptContainer.
Syntax
public T AddNew<T>( 
   string name
)
where T: new(), ConceptElement

Parameters

name
The name of the new item. If this name is already used in the internal list, an exception will be thrown.

Type Parameters

T
The type of the new ConceptElement to instanciate.

Return Value

Returns the new item that has been added.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ConceptContainer Class
ConceptContainer Members
Overload List

 

 


© 2016 Objectis

Send Feedback